Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 6 - Printing Resources / Printing Resources Reference
Constants and Data Types


Raster Package Structure

The raster package structure, of data type gxRasterPackageRec, defines the format of the raster package ('rpck') resource.

struct gxRasterPackageRec {
   Ptr      bufferSize;
   short    colorPasses;
   short    headHeight;
   short    numberPasses;
   short    passOffset;
   gxRasterPackgeOptions
            packageOptions;
};

typedef struct gxRasterPackageRec gxRasterPackageRec, 
*gxRasterPackagePtr, **gxRasterPackageHdl;
Field Description
bufferSize
The buffer size for packaging. This value must be greater than or equal to the maximum head-pass size.
colorPasses
The number of color passes. This value is typically 1 for monochrome printers and 4 for CMYK printers.
headHeight
The height of the print head, in pixels.
numberPasses
The number of passes it takes to print one print head of data.
passOffset
The offset between passes, in pixels.
packageOptions
The packaging options. The constants that you can use in this field are the values of the raster package options enumeration, described in the next section. You can combine several of the constants into one value for this field.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help